package com.sc.design.PK.structure.decoration_adaptor.decoration;

/**
 * @author sc
 * Created on  2017/12/8
 */
public class Client {
    public static void main(String[] args) {
        Swan duck = new UglyDucking();
        duck.desAppearance();
        duck.cry();
        duck.fly();

        duck = new BeautifyAppearance(duck);
        duck.desAppearance();

        duck = new StrongBehavior(duck);
        duck.desAppearance();
    }
}
